package com.cui.demoshiro.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/role")
public class RoleController {

    @RequestMapping("/roleList")
    @RequiresPermissions("roleList")
    public String roleList() {
        return "role/roleList" ;
    }
}
